package cn.com.api.service.impl;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_goods_tags;

import cn.com.api.mapper.ApiT_goods_tagsMapper;

import cn.com.api.service.ApiT_goods_tagsService;
import cn.com.api.service.impl.base.T_goods_tagsServiceImplBase;

/**
 * 
 **/
@Service
public class ApiT_goods_tagsServiceImpl extends T_goods_tagsServiceImplBase implements ApiT_goods_tagsService {
	@Autowired
	private ApiT_goods_tagsMapper apiT_goods_tagsMapper;

	public List<ApiT_goods_tags> findGoodsTagss(Long goodid) {
		if (goodid != null) {
			return apiT_goods_tagsMapper.findGoodsTagss(goodid);
		} else {
			return apiT_goods_tagsMapper.findT_goods_tagss();
		}

	}
}
